export default function(data){
	const list = []
	data.multDataList[0].itemList.splice(0,1)//贷款额度
	data.multDataList[4].itemList.splice(0,1)//学历
	data.multDataList[5].itemList.splice(1,1) //公积金
	data.multDataList[10].itemList.splice(3,1)//工作
	data.multDataList[12].itemList.splice(1,1)//社保
	data.multDataList =  data.multDataList.filter(item => {
		if(
			item.name == '京东白条'
			||item.name == '支付宝花呗'
			||item.name == '有保单'
			||item.name == '有房'
			||item.name == '有车'
		){
			if(item.name == '有房'){
				item.name = '房产情况'
				list.push(item)
			}
			if(item.name == '有车'){
				item.name = '车辆情况'
				list.push(item)
			}
			
			return false
		}
		if(item.name == "贷款额度"){
			item.name = '您大约想借多少钱'
		}
		
		return true
	})
	data.singleDataList = list
	data.multDataList = data.multDataList.concat(list)
	console.log(data.multDataList)
	const amount = {
		multDataList:[
			{
				name:'贷款额度',
				amounts:[0, 0, 0, 0]
			},
			{
				name:'芝麻分数',
				amounts:[0, 3000, 5000, 10000]
			},
			{
				name:'学历',
				amounts:[3000, 5000, 10000, 20000]
			},
			{
				name:'有公积金',
				amounts:[ 0, 2000, 10000]
			},
			
			{
				name:'有逾期',
				amounts:[-5000, 1000]
			},
			
			{
				name:'工作',
				amounts:[10000, 20000, 5000,30000]
			},
			{
				name:'信用卡额度',
				amounts:[5000, 5000,10000]
			},
			{
				name:'有社保',
				amounts:[0, 20000,10000]
			},
			{
				name:'有房',
				amounts:[0,50000]
			},
			{
				name:'有车',
				amounts:[0,20000]
			},
		],
		singleDataList:[
			{
				name:'有房',
				amounts:[0,50000]
			},
			{
				name:'有车',
				amounts:[0,20000]
			},
		]
	}

	data.multDataList.forEach((item ,i) => {
		item.itemList.forEach((item,j) => {
			item.amount = amount.multDataList[i].amounts[j]
		})
	})
	
}
